// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown .el-dropdown-link{
  color: var(--el-color-primary) !important;
}


.el-dialog {
  width: 720px !important;
  border: 1px solid #DDE1E5 !important;
  border-radius: 3px !important;
}

.el-dialog__header {
  padding: 0 0 0 15px !important;
  line-height: 45px !important;
  height: 45px !important;
  background: #fff !important;
  border-bottom: 1px solid #f0f0f0 !important;
  margin-bottom: 16px !important;
  font-weight: 900;
}

.el-dialog__header .el-dialog__title {
  font-size: 16px !important;
  line-height: 45px !important;
  color: #333333 !important;
}

.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close {
  color: #1890ff
}
 
.el-button--primary {
  color: #fff;
  background-color: #1890ff;
  border-color: #1890ff
}

.el-button--primary:active {
  outline: none
}

.el-button--primary.is-active,.el-button--primary:active {
  background: #1682e6;
  border-color: #1682e6;
  color: #fff
}

.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover {
  color: #fff;
  background-color: #8cc8ff;
  border-color: #8cc8ff
}

.el-button--primary.is-plain {
  color: #1890ff;
  background: #e8f4ff;
  border-color: #a3d3ff
}

.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff
}

.el-button--primary.is-plain:active {
  background: #1682e6;
  border-color: #1682e6;
  color: #fff;
  outline: none
}

.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover {
  color: #74bcff;
  background-color: #e8f4ff;
  border-color: #d1e9ff
}

.el-button--success {
  color: #fff;
  background-color: #13ce66;
  border-color: #13ce66
} 
 
.el-button--success:active {
  outline: none
}

.el-button--success.is-active,.el-button--success:active {
  background: #11b95c;
  border-color: #11b95c;
  color: #fff
}

.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover {
  color: #fff;
  background-color: #89e7b3;
  border-color: #89e7b3
}

.el-button--success.is-plain {
  color: #13ce66;
  background: #e7faf0;
  border-color: #a1ebc2
}

.el-button--success.is-plain:focus,.el-button--success.is-plain:hover {
  background: #13ce66;
  border-color: #13ce66;
  color: #fff
}

.el-button--success.is-plain:active {
  background: #11b95c;
  border-color: #11b95c;
  color: #fff;
  outline: none
}

.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover {
  color: #71e2a3;
  background-color: #e7faf0;
  border-color: #d0f5e0
}

.el-button--warning {
  color: #fff;
  background-color: #FE7300;
  border-color: #FE7300
}
 
.el-button--warning:active {
  outline: none
}

.el-button--warning.is-active,.el-button--warning:active {
  background: #e6a700;
  border-color: #e6a700;
  color: #fff
}

.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover {
  color: #fff;
  background-color: #ffdd80;
  border-color: #ffdd80
}

.el-button--warning.is-plain {
  color: #FE7300;
  background: #fff8e6;
  border-color: #ffe399
}

.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover {
  background: #FE7300;
  border-color: #FE7300;
  color: #fff
}

.el-button--warning.is-plain:active {
  background: #e6a700;
  border-color: #e6a700;
  color: #fff;
  outline: none
}

.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover {
  color: #ffd666;
  background-color: #fff8e6;
  border-color: #fff1cc
}

.el-button--danger {
  color: #fff;
  background-color: #ff4949;
  border-color: #ff4949
}
 
.el-button--danger:active {
  outline: none
}

.el-button--danger.is-active,.el-button--danger:active {
  background: #e64242;
  border-color: #e64242;
  color: #fff
}

.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover {
  color: #fff;
  background-color: #ffa4a4;
  border-color: #ffa4a4
}

.el-button--danger.is-plain {
  color: #ff4949;
  background: #ffeded;
  border-color: #ffb6b6
}

.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover {
  background: #ff4949;
  border-color: #ff4949;
  color: #fff
}

.el-button--danger.is-plain:active {
  background: #e64242;
  border-color: #e64242;
  color: #fff;
  outline: none
}

.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover {
  color: #ff9292;
  background-color: #ffeded;
  border-color: #ffdbdb
}

.el-button--info {
  color: #fff;
  background-color: #909399;
  border-color: #909399
}
 
.el-button--info:active {
  outline: none
}

.el-button--info.is-active,.el-button--info:active {
  background: #82848a;
  border-color: #82848a;
  color: #fff
}

.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover {
  color: #fff;
  background-color: #c8c9cc;
  border-color: #c8c9cc
}

.el-button--info.is-plain {
  color: #909399;
  background: #f4f4f5;
  border-color: #d3d4d6
}
  
.el-button--info.is-plain:active {
  background: #82848a;
  border-color: #82848a;
  color: #fff;
  outline: none
}

.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover {
  color: #bcbec2;
  background-color: #f4f4f5;
  border-color: #e9e9eb
}

.el-button--medium {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px
}

.el-button--medium.is-round {
  padding: 10px 20px
}

.el-button--medium.is-circle {
  padding: 10px
}

.el-button--small {
  padding: 9px 15px;
  font-size: 12px;
  border-radius: 3px
}

.el-button--small.is-round {
  padding: 9px 15px
}

.el-button--small.is-circle {
  padding: 9px
}

.el-button--mini {
  padding: 7px 15px;
  font-size: 12px;
  border-radius: 3px
}

.el-button--mini.is-round {
  padding: 7px 15px
}

.el-button--mini.is-circle {
  padding: 7px
}

.el-button--text {
  border-color: transparent;
  color: #1890ff;
  background: transparent;
  padding-left: 0;
  padding-right: 0
}

.el-button--text:focus,.el-button--text:hover {
  color: #46a6ff;
  border-color: transparent;
  background-color: transparent
}

.el-button--text:active {
  color: #1682e6;
  background-color: transparent
}

.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover,.el-button--text:active {
  border-color: transparent
}

.el-button-group {
  display: inline-block;
  vertical-align: middle
}

.el-button-group:after,.el-button-group:before {
  display: table;
  content: ""
}

.el-button-group:after {
  clear: both
}

.el-button-group>.el-button {
  float: left;
  position: relative
}

.el-button-group>.el-button+.el-button {
  margin-left: 0
}

.el-button-group>.el-button.is-disabled {
  z-index: 1
}

.el-button-group>.el-button:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0
}

.el-button-group>.el-button:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0
}

.el-button-group>.el-button:first-child:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px
}

.el-button-group>.el-button:first-child:last-child.is-round {
  border-radius: 20px
}

.el-button-group>.el-button:first-child:last-child.is-circle {
  border-radius: 50%
}

.el-button-group>.el-button:not(:first-child):not(:last-child) {
  border-radius: 0
}

.el-button-group>.el-button:not(:last-child) {
  margin-right: -1px
}

.el-button-group>.el-button.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover {
  z-index: 1
}

.el-button-group>.el-dropdown>.el-button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--primary:first-child {
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--primary:last-child {
  border-left-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--primary:not(:first-child):not(:last-child) {
  border-left-color: hsla(0,0%,100%,.5);
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--success:first-child {
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--success:last-child {
  border-left-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--success:not(:first-child):not(:last-child) {
  border-left-color: hsla(0,0%,100%,.5);
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--warning:first-child {
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--warning:last-child {
  border-left-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--warning:not(:first-child):not(:last-child) {
  border-left-color: hsla(0,0%,100%,.5);
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--danger:first-child {
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--danger:last-child {
  border-left-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--danger:not(:first-child):not(:last-child) {
  border-left-color: hsla(0,0%,100%,.5);
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--info:first-child {
  border-right-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--info:last-child {
  border-left-color: hsla(0,0%,100%,.5)
}

.el-button-group .el-button--info:not(:first-child):not(:last-child) {
  border-left-color: hsla(0,0%,100%,.5);
  border-right-color: hsla(0,0%,100%,.5)
}
